﻿package  com.mattlohkamp.src.as3
{
	import flash.events.Event;
	/**
	 * ...
	 * @author matt lohkamp
	 * from Matt Przybylski's template: http://evolve.reintroducing.com/2007/10/23/as3/as3-custom-events/
	 */
	public class DisplayObjectGalleryEvent extends Event{
		public static const DEFAULT_NAME:String = "com.mattlohkamp.src.as3.DisplayObjectGalleryEvent";
		public static const CHANGE:String = "change";
		public var params:Object;
		public function DisplayObjectGalleryEvent($type:String, $params:Object, $bubbles:Boolean = false, $cancelable:Boolean = false){
			super($type, $bubbles, $cancelable);
			this.params = $params;
		}
		public override function clone():Event{
			return new DisplayObjectGalleryEvent(type, this.params, bubbles, cancelable);
		}
		public override function toString():String{
			return formatToString("DisplayObjectGalleryEvent", "params", "type", "bubbles", "cancelable");
		}
	}
}